package com.resign.carl.composite.api;

/**
 * Created by carl.zhao on 2016/6/16.
 */
public class Waitress {

    private MenuComponent allMenus;

    public Waitress(MenuComponent allMenus){
        this.allMenus = allMenus;
    }

    public void printMenu(){
        allMenus.print();
    }

}
